<h3 class="page-title">权限管理
    <small>Add User</small>
</h3>

<ul class="breadcrumb">
    <li>
        <i class="icon-home"></i>
        <a href="javascript:;" ui-sref="index.home">首页</a>
        <i class="icon-angle-right"></i>
    </li>
    <li>
        <a href="javascript:;">系统管理</a>
        <i class="icon-angle-right"></i>
    </li>
    <li>
        <a href="javascript:;">权限管理</a>
        <i class="icon-angle-right"></i>
    </li>
    <li>
        <a href="javascript:;" ui-sref="index.permission">权限列表</a>
    </li>
    <li class="pull-right no-text-shadow">
        {{utc}} UTC
    </li>
</ul>
<div class="portlet box red">

    <div class="portlet-title">

        <div class="caption"><i class="icon-cogs"></i>权限</div>
        <div class="tools">
            <a href="javascript:;" class="collapse"></a>
        </div>

    </div>

    <div class="portlet-body">
        <div class="tab-pane active" id="tab_1_1_1">

            <table datatable="ng" dt-options="dtOption" dt-column-defs="dtColumnDefs"  class="table table-striped table-bordered table-hover table-full-width dataTable">
                <thead>
                <tr>
                    <th>序号</th>
                    <th>菜单名称</th>
                    <th>权限字符串</th>
                    <th>权限描述</th>
                    <th>权限地址</th>
                    <th>图标</th>
                    <th>父节点ID</th>
                    <th>权限类型</th>
                    <th>创建时间</th>
                    <th>权限排序</th>
                    <th>操作</th>
                </tr>
                </thead>

                <tbody>
                <tr ng-repeat="permission in per">
                    <td>{{$index + 1}}</td>
                    <td>{{permission.name}}</td>
                    <td>{{permission.permission}}</td>
                    <td>{{permission.description}}</td>
                    <td>{{permission.url}}</td>
                    <td>{{permission.logo}}</td>
                    <td>{{permission.parentId}}</td>
                    <td>{{permission.type}}</td>
                    <td>{{permission.createTime | date:"yyyy-MM-dd HH:mm:ss"}}</td>
                    <td>{{permission.permissionSort}}</td>
                    <td>
                        <a href="javascript:;" style="padding: 3px 10px" class="btn blue"
                           ng-click="edit(permission.permissionId)"><i class="icon-edit"></i> 编辑</a>
                        <a href="javascript:;" style="padding: 3px 10px" class="btn blue"
                           ng-click="delete(permission.permissionId)"><i class="icon-trash"></i> 删除</a>
                    </td>
                </tr>
                </tbody>

            </table>

        </div>

    </div>

</div>